package Computer;

class Students{
	String name;
	int age;
	Computer c;
}
	
class Computer{
	String brand;
	int screen; 
	int storage;
	
}
public class Student {
	public static void main(String args[]) {
	Students a = new Students();
	Computer b = new Computer();
	a.name = "王嘉岩";
	a.age = 19;
	b.brand = "苹果";
	b.storage = 256;
	b.screen = 13;
	a.c = b;
	Students c = new Students();
	Computer d = new Computer();
	c.name = "王岩嘉";
	c.age = 20;
	d.brand = "华为";
	d.storage = 1;
	d.screen = 16;
	c.c = d;
	Students e = new Students();
	Computer f = new Computer();
	e.name = "岩嘉王";
	e.age = 21;
	f.brand = "惠普";
	f.storage = 512;
	f.screen = 14;
	e.c = f;
	System.out.println("姓名："+a.name+" 年龄："+a.age+" 品牌："+b.brand+" 内存："+b.storage+"G"+" 屏幕大小："+b.screen+"英寸");
	System.out.println("姓名："+c.name+" 年龄："+c.age+" 品牌："+d.brand+" 内存："+d.storage+"T"+" 屏幕大小："+d.screen+"英寸");
	System.out.println("姓名："+e.name+" 年龄："+e.age+" 品牌："+f.brand+" 内存："+f.storage+"G"+" 屏幕大小："+f.screen+"英寸");
	}
	
}
